package com.edu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName MyException
 * @date 2022/9/13 9:03
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends Exception{

    private Integer code;//状态码

    private String msg;//异常信息

}
